import request from '@/utils/request'

export function listEquipmentrecommendation(query) {
  return request({
    url: '/commendSys/equipmentrecommendation/list',
    method: 'get',
    params: query
  })
}

export function getEquipmentrecommendation(id) {
  return request({
    url: '/commendSys/equipmentrecommendation/' + id,
    method: 'get'
  })
}

export function addEquipmentrecommendation(data) {
  return request({
    url: '/commendSys/equipmentrecommendation',
    method: 'post',
    data: data
  })
}

export function updateEquipmentrecommendation(data) {
  return request({
    url: '/commendSys/equipmentrecommendation',
    method: 'put',
    data: data
  })
}

export function delEquipmentrecommendation(id) {
  return request({
    url: '/commendSys/equipmentrecommendation/' + id,
    method: 'delete'
  })
}
